class CreateRoles < ActiveRecord::Migration
  def self.up
    create_table :roles do |t|
			t.column :name, 			:string
			t.column :created_at, :datetime
			t.column :updated_at, :datetime
    end

		Role.create(:name => "Admin")
		Role.create(:name => "Publisher")
		Role.create(:name => "Editor")
  end

  def self.down
    drop_table :roles
  end
end
